﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Account.Master" AutoEventWireup="true" CodeBehind="inbox.aspx.cs" Inherits="BookClubIt.Account.inbox" %>
<%@ Register TagPrefix="uc" TagName="accountnav" Src="~/UserControls/accountmenu.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="row">
<div class="left-nav">
<uc:accountnav id="accountnav"  runat="server" />
</div>
<div class="content-full">
<h1><small>Inbox</small></h1>

<asp:GridView ID="grdMessages"
 OnRowDataBound="grdMessages_OnRowDataBound"
  runat="server"
   AutoGenerateColumns="false"
    AlternatingRowStyle-CssClass="alt"
     CssClass="table tablemessages"
     GridLines="None" Width="100%">
<Columns>
    <asp:TemplateField ItemStyle-CssClass="avatar">
    <HeaderTemplate>From</HeaderTemplate>
           <ItemTemplate>
           <asp:HyperLink ID="lnkFromUsername" runat="server" />

           </ItemTemplate>
      </asp:TemplateField>

          <asp:TemplateField>
           <HeaderTemplate>Message</HeaderTemplate>
           <ItemTemplate>
           <asp:Label ID="lblMessageText" runat="server" />
           </ItemTemplate>
      </asp:TemplateField>

        <asp:TemplateField>
           <HeaderTemplate>Sent</HeaderTemplate>
           <ItemTemplate>
           <asp:Label id="lblSentDate" runat="server" />
           </ItemTemplate>
      </asp:TemplateField>
</Columns>
</asp:GridView>

</div>
</div>

</asp:Content>
